package com.hhit.collaborative_learning.dao;

import java.sql.Connection;
import java.sql.ResultSet;

public interface CoopTaskDao {
	public int getCount(Connection con, String find);

	public ResultSet query(Connection con, int start, int end, String find,
			String order, String sort);

	public int insert(Connection con, String Name, String etime, String cuid,
			String euid, String projid);

	public int updateDesc(Connection con, String find, String state);

	public int updateState(Connection con, String find, String state);

	public int delete(Connection con, String find);

	public ResultSet getUserTaskCount(Connection con, String find);
}
